package by.myteam.gonki.util;

import java.util.ArrayList;
import java.util.List;

import by.myteam.gonki.bo.EBusinessObjects;
import by.myteam.gonki.bo.IDrawable;

public class ListObjects {
	private List<IDrawable> listObjects = new ArrayList<IDrawable>();
	
	public static final ListObjects INSTANCE = new ListObjects();
	private ListObjects(){
		for(EBusinessObjects bo : EBusinessObjects.values()){
			listObjects.add(bo.getObject());
		}
	}
	public List<IDrawable> getListObjects() {
		return listObjects;
	}

	public void setListObjects(List<IDrawable> listObjects) {
		this.listObjects = listObjects;
	}
	
}
